// Block.h: interface for the CBlock class.
//
//////////////////////////////////////////////////////////////////////

#ifndef __BLOCK_H__
#define __BLOCK_H__

#include "Slot.h"

/* The card block, the source of cards */

class CBlock : public CSlot
{
public:
	bool IncreaseSelection();
	void Draw( unsigned int _x, unsigned int _y, bool selected = false );
	void CalculateDrawingArea(int& _x, int&  _y,  int& _width, int& _height );
	void Init();
	CBlock();
	virtual ~CBlock();
	virtual const char* 	SlotName();
    void	Fill();
private:
	bool CheckPushPrecondition( const CCard& _card );
};

#endif // __BLOCK_H__
